package top.lunarye.common.constant;

/**
 * 用于指定与rocketmq进行连接的时候需要用到的变量值
 * @author lunar
 * @since 2022-07-12
 */
public class RocketDelayConstants {
    /**
     * redis中用于存储时间轮中的消息的zset名称
     */
    public static final String REDIS_STORE_ZSET = "rocketmq_store";

    public static final String TIMES          = "times";

    /**
     * 原始的topic
     */
    public static final String ORIGINAL_TOPIC = "original_topic";

    /**
     * 原始的tag
     */
    public static final String ORIGINAL_TAG   = "original_tag";

    /**
     * 原始的key
     */
    public static final String ORIGINAL_KEY   = "original_key";

    /**
     * 唯一ID
     */
    public static final String ORIGINAL_UUID  = "original_UUID";

    /**
     * 代理的topic
     */
    public static final String PROXY_TOPIC          = "topic";

    /**
     * 超时时间
     */
    public static final Long   TIME_OUT             = 1 * 60L;
}
